package com.fly.common.mapper;

import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.common.IdsMapper;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

import java.util.List;

public interface BaseMapper<T> extends Mapper<T>, IdsMapper<T>, InsertListMapper<T>{
    /**
     * 根据条件查询全部结果
     *
     * @param record
     * @return
     */
    @SelectProvider(type = MySelectProviderPage.class, method = "dynamicSQL")
    List<T> selectList(T record);
}
